#include "main.h"
#include <adc.h>
#include "adc.h"

void InitADC()
{
    OpenADC( ADC_FOSC_2 &
             ADC_RIGHT_JUST &
             ADC_12_TAD ,
             ADC_CH0 &
             ADC_REF_VDD_VSS &
             ADC_INT_OFF, ADC_1ANA );
}

